package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface UserShoppingService {
    //向购物车添加食物
    void add(ShoppingCartDTO shoppingCartDTO);
    //查看购物车
    List<ShoppingCart> showcart();
   //清空购物车
    void deleteCart();
//删除一个商品
    void subCart(ShoppingCartDTO shoppingCartDTO);
}
